package com.situ.water_read.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.situ.water_read.pojo.RdChangemaxvalue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.water_read.pojo.RdRead;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
@Mapper
public interface RdChangemaxvalueMapper extends BaseMapper<RdChangemaxvalue> {


    int insertMax(RdRead read);

    IPage<Map> querymax(@Param("page") Page<RdChangemaxvalue> page, @Param(Constants.WRAPPER) QueryWrapper wrapper);
}
